package cn.bocweb.spinning.util;

/**
 * Created by chenchangxing on 15/12/30.
 */
public class Constant {

    public static final String PACKAGE = "cn.bocweb.spinning.";
    public static final String OLD_FANG_DETAIL = PACKAGE + "old_fang_detail";
    //网络请求
//    public static final String BASE_URL = "http://demo.188388.cn:8131/fzapp/index.php/";
//    public static final String BASE_URL = "http://fzdxtpc.zgsxw.com/index.php/";
    public static final String BASE_URL = "http://fzdxtpc.zgsxw.com/index.php/";
    public static final String BASE_LIBRARY = "http://www.chinayarn.com/m/library?vid=";
    public static final String NETWORK_ERROR = "请求数据失败,请连接网络";
    // 跳转
    public static final String QUESTION_DETAIL = PACKAGE + "question.answer";
    public static final String IS_MAIN_TO_LOGIN = PACKAGE + "is_main_to_login";
    public static final String SET_QUES_WAREHOUSE = PACKAGE + "setqueswarehouse";
    public static final String INFO_DETAIL = PACKAGE + "info_detail";
    public static final String INFO_TITLE = PACKAGE + "info_title";
    public static final String INFO_DETAIL_ISLOGIN = PACKAGE + "info_detail_islogin";
    public static final String INFO_DETAIL_COMMEND = PACKAGE + "info_detail_commend";
    public static final String INFO_DETAIL_TO_ALL_COMMENT = PACKAGE + "info_detail_to_all_comment";
    public static final String ACTIVITY_TO_LOGIN = PACKAGE + "activity_to_login";
    public static final String ACTIVITY_TO_LOGIN_LIB = PACKAGE + "activity_to_login_lib";
    public static final String ACTIVITY_TO_LOGIN_LAST = PACKAGE + "activity_to_login_last";
    public static final String ACTIVITY_TO_LOGIN_URL = PACKAGE + "activity_to_login_url";
    public static final String LOGIN_TO_REGISTER = PACKAGE + "login_to_register";
    public static final String ALL_COMMENT_DATA = PACKAGE + "all_comment_data";
    public static final String START_EXAM_LIST = PACKAGE + "start_exam_list";
    public static final String START_EXAM_TESTID = PACKAGE + "start_exam_testid";
    public static final String START_EXAM_USERID = PACKAGE + "start_exam_userid";
    public static final String START_EXAM_LIBID = PACKAGE + "start_exam_libid";
    public static final String START_EXAM_TIMELIMIT = PACKAGE + "start_exam_timelimit";
    public static final String START_EXAM_ISFIRSTMATCH = PACKAGE + "start_exam_isfirstmatch";
    public static final String START_EXAM_ISSECONDTEST = PACKAGE + "start_exam_issecond";
    public static final String START_EXAM_END_TIME = PACKAGE + "start_exam_end_time";
    public static final String START_EXAM_TIME_LIMIT = PACKAGE + "start_exam_time_limit";
    public static final String START_EXAM_QUIZ_SUM = PACKAGE + "start_exam_quiz_sum";
    public static final String EXAM_RESULT = PACKAGE + "exam_result";
    public static final String EXAM_RESULT_LIBID = PACKAGE + "exam_result_libid";
    public static final String EXAM_RESULT_SPEND_TIME = PACKAGE + "exam_result_spend_time";
    public static final String EXAM_RESULT_ISFIRSTMATCH = PACKAGE + "exam_result_isfirstmatch";
    public static final String EXAM_RESULT_ISSECONDTEST = PACKAGE + "exam_result_issecondtest";
    public static final String TEST_DETAIL = PACKAGE + "test_detail";
    public static final String TO_READY_TEST_NORMAL = PACKAGE + "to_readytest_normal";
    public static final String CHECK_ANSWER_TESTID = PACKAGE + "check_answer_testid";
    public static final String CHECK_ANSWER_LIBID = PACKAGE + "check_answer_libid";
//    public static final String CHECK_ANSWER_SCHOOL = PACKAGE + "check_answer_school";
    public static final String CHECK_COLLECT_DELETE = PACKAGE +  "check_collect_delete";
    public static final String TO_INTEGRAL_EXPLAIN_URL = PACKAGE + "to_integral_explain_url";
    public static final String CHECK_ERROR_TESTID = PACKAGE + "check_error_testid";
    public static final String TRAIN= PACKAGE + "train";
    public static final int TRAIN_RANDOM = 1;
    public static final int SEQUENCE = 1;
    public static final int TRAIN_ERROR = 2;
    public static final int COLLECT = 3;
    public static final int TRAIN_DIFF = 3;
    public static final String COUNT_ACITIVYT = PACKAGE + "count_activity";
    public static final String MAIN_TO_COUNT = PACKAGE + "main_to_count";
    public static final boolean IS_MAIN_TO_COUNT = true;
    public static final String HELP_DETAIL = PACKAGE + "help_detail";
    public static final String TO_REGISTER = PACKAGE + "to_register";
    public static final String TO_FORGET_PWD = PACKAGE + "to_forget_pwd";
    public static final String TO_COMPANY = PACKAGE + "to_company";
    public static final String TO_COMPANY_COLLECT = PACKAGE + "to_company_collect";
    public static final String TO_ADDRESS_SEARCH = PACKAGE + "TO_ADDRESS_SEARCH";
    public static final String TO_CATE_SEARCH = PACKAGE + "TO_CATE_SEARCH";
    public static final String TO_PRODUCT_DETAIL_COLLECT = PACKAGE + "to_product_detail_collect";
    public static final String TO_PRODUCT_DETAIL_ID = PACKAGE + "to_product_detail_id";
    public static final String TO_PRODUCT_DETAIL_URL = PACKAGE + "to_product_detail_url";
    public static final String TO_SEARCH_KEYWORD = PACKAGE + "to_search_keyword";
    public static final String TO_READY_FIRST_TEST_ID = PACKAGE + "to_ready_first_test_id";
    public static final String TO_RANK_LIBID = PACKAGE + "to_rank_libid";
    public static final String TO_FIRST_REWARD = PACKAGE + "to_first_reward";
    public static final String TO_TEST_RULE = PACKAGE + "to_test_rule";
    public static final String TO_REDAY_TEST_TITLE = PACKAGE + "to_ready_test_title";
    public static final String TO_TEST_RESULT_ANSWER = PACKAGE + "to_test_result_answer";
    public static final String TO_REDAY_TEST_QTITLE = PACKAGE + "to_ready_test_qtitle";
    public static final String TO_TEST_TITLE = PACKAGE + "to_test_title";
    public static final String TO_SECOND_RULE = PACKAGE + "to_second_rule";
    public static final String TO_SECOND_RULE_IS_SECOND_TEST = PACKAGE + "to_second_rule_is_second";
    public static final String TO_SECOND_RULE_END_TIME = PACKAGE + "to_second_rule_end_time";
    public static final String TO_SECOND_RULE_TEST_ID = PACKAGE + "to_second_rule_testid";
    public static final String TO_QA_DETAIL = PACKAGE + "to_qa_detail";
    public static final String TO_QA_DETAIL_POSITION = PACKAGE + "to_qa_detail_position";
    public static final String TO_QUES_DETAIL_ANSWER = PACKAGE + "to_ques_detail_answer";
    public static final String TO_QUES_DETAIL_ANSWER_NUM = PACKAGE + "to_ques_detail_answer_num";
    public static final String QUES_ANSWER_DETAIL = PACKAGE + "ques_answer_detail";
    public static final String TO_FORUM_DETAIL = PACKAGE + "to_forum_detail";
    public static final String TO_FORUM_SOCIETY = PACKAGE + "to_forum_society";
    public static final String TO_FORUM_SOCIETY_COLOR = PACKAGE + "to_forum_society_color";
    public static final String TO_FORUM_SOCIETY_TITLE = PACKAGE + "to_forum_society_title";
    public static final String TO_TEST_RULE_TITLE = PACKAGE + "to_test_rule_title";
    public static final String TO_TEST_RULE_LIBTYPE = PACKAGE + "to_test_rule_libtype";
    public static final String REPLY_TO_FORUN_DETAIL_BEAN = PACKAGE + "reply_to_forun_detail_bean";
    public static final String REPLY_TO_FORUN_DETAIL_FORUM = PACKAGE + "reply_to_forun_detail_FORUM";
    public static final String SEARCH_INFO_TYPE = PACKAGE + "search_info_type";
    public static final String IMG_DETAIL_URL = PACKAGE + "img_detail_url";
    public static final String TO_SHOP_DETAIL_URL = PACKAGE + "to_shop_detail_url";
    public static final String TO_SHOP_DETAIL_STATUS = PACKAGE + "to_shop_detail_status";
    public static final String TO_SHOP_DETAIL_ID = PACKAGE + "to_shop_detail_id";
    public static final String TO_SHOP_DETAIL_MY_INTEGRAL = PACKAGE + "to_shop_detail_my_integral";
    public static final String TO_SHOP_DETAIL_INTEGRAL = PACKAGE + "to_shop_detail_integral";
    public static final String TO_SHOP_ADDR_ID = PACKAGE + "to_shop_addr_id";
    public static final String TO_TEST_RANK_IF_FIRST = PACKAGE + "to_test_rank_if_first";
    public static final String TO_TEST_RANK_IF_SECOND = PACKAGE + "to_test_rank_if_second";
    public static final String SCHOOL_TO_TEST = PACKAGE + "school_to_test";
    public static final String TO_REPORT_SECOND_TESTID = PACKAGE + "to_report_second_testid";
    public static final String TO_REPORT_SECOND_DETAIL = PACKAGE + "to_report_second_detail";
    public static final String TO_REPORT_SECOND_USERID = PACKAGE + "to_report_second_userid";
    public static final String SCHOOL_TO_TEST_DETAIL_LIB = PACKAGE + "school_to_test_detail_lib";
    public static final String TO_TEST_TEST_ID = PACKAGE + "to_test_test_id";
    public static final String TO_TEST_TEST_START_TIME = PACKAGE + "to_test_test_start_time";
    public static final String TO_TEST_TEST_TIMELIMIT = PACKAGE + "to_test_test_timelimit";
    public static final String TO_TEST_SELPOINT = PACKAGE + "to_test_selpoint";
    public static final String TO_TEST_DUOXUANPOINT = PACKAGE + "to_test_duoxuanpoint";
    public static final String TO_TEST_JUDGEPOINT = PACKAGE + "to_test_judgepoint";
    public static final String TO_TEST_SCROLLABLE = PACKAGE + "to_test_scroll";
    public static final String TO_TEST_DATIKA = PACKAGE + "to_test_datika";
    public static final String TO_TEST_IS_CHANGE = PACKAGE + "to_test_is_change";
    public static final String TO_RANK_TITLE = PACKAGE + "to_rank_title";
    public static final String TO_RANK_IS_ACTIVITY = PACKAGE + "to_rank_is_activity";
    public static final String TO_LOGIN_TEST = PACKAGE + "to_login_test";
    public static final String TO_TEST_DETAIL_IS_ACITVITY = PACKAGE + "to_test_detail_is_activity";
    public static final String TO_TEST_DETAIL_IS_SECOND = PACKAGE + "to_test_detail_is_second";
    public static final int TO_LOGIN_TEST_STATUS = 1;
    public static final String IMAGE_SHOW = PACKAGE + "image_show";
    /**
     * onActivityResult
     */

    public static final int INTENT_EMPTY = 0;
    public static final int QUESTION_DETAIL_MINE = 1;
    public static final int FIRST_OPEN_APP_TO_WAREHOUSE = 2;
    public static final int INFODETAIL_TO_LOGIN = 3;
    public static final int INFO_TO_LOGIN = 4;
    public static final int TRAIN_TO_LOGIN = 6;
    public static final int SEQUENCE_BACK_MAIN = 7;
    public static final int ALL_COMMENT_INFO_DETAIL = 8;
    public static final int LOGIN_TO_MAIN = 9;
    public static final int SET_WARE_TO_MAIN = 10;
    public static final int SEQUENCE_TEST_COLLECT = 11; //未登录时顺序练习点击收藏
    public static final int SEQUENCE_TEST_SYNC = 12; //未登录时顺序练习点击同步
    public static final int TRAIN_TO_LOGIN_FORGET_PWD = 13;
    public static final int SEQUENCE_TEST_COLLECT_FORGET_PWD = 14; //未登录时顺序练习点击收藏
    public static final int SEQUENCE_TEST_SYNC_FORGET_PWD = 15; //未登录时顺序练习点击同步
    public static final int LOGIN_TO_MAIN_FORGET_PWD = 16;
    public static final int SEARCH_CATE_TO_RESULT = 17; //选择类目返回.
    public static final String SEARCH_CATE_TITLE = PACKAGE + "search_cate_title";
    public static final String SEARCH_CATE_ID = PACKAGE + "search_cate_id";
    public static final int SEARCH_ADDRESS_TO_RESULT = 18; // 选择地址返回
    public static final String SEARCH_ADDRESS_TITLE = PACKAGE + "search_address_title";
    public static final int  FORUN_SEND_PIC = 19;
    public static final int SEARCH_SCREEN = 20; //返回筛选结果
    public static final String SEARCH_SCREEN_ADDRESS = PACKAGE + "search_screen_address";
    public static final String SEARCH_SCREEN_CATE = PACKAGE + "search_screen_cate";
    public static final int SELECT_PHOTO_FOR_QA = 21;
    public static final int BACK_ANSWER_QA = 22;
    public static final int QUES_DETAIL_BACK_QUES_LIST = 23;
    public static final int QUES_DETAIL_BACK_MY_QUES = 24;
    public static final int REWARD_TO_LOGIN = 25;
    public static final int BACK_MY_INTEGRAL = 26;
    public static final int TEST_RULE_BACK_LOGIN = 26;
    //准备考试跳转注册
    public static final int READY_TEST_TO_REGISTER = 11;
    /**
     * 顺序练习模块未登录
     */

    public static final String WX_APP_ID = "wx61c8dba7c9f11100";
    //更换头像 1为相册 2为拍照
    public static final int CHOOSE_ALBUM = 1;
    public static final int CHOOSE_CAMERA = 2;
    //逻辑页面返回值
    public static final String PRESENTER_EMPTY = "请将数据填写完整";
    public static final String PRESENTER_PROTOCOL = "请浏览协议";
    public static final String PRESENTER_CONFIRM_PWD = "两次密码输入不一致";
    public static final String VERIFY_SUCCESS = "验证码已发送";
    public static final String REG_SUCCESS = "注册成功";
    public static final String USER_INFO = PACKAGE + "userinfo";
    public static final String VID_CODE = PACKAGE + "vidcode";
    public static final String IS_FIRST_OPEN = PACKAGE + "isFirstOpen";
    public static final String KEY_FIRST_OPEN = "isFirstOpne";
    public static final String SECOND_TIME = PACKAGE + "second_time";
    public static final String STRING_SECOND_TIME = PACKAGE + "string_second_time";
    public static final String WARE_HOUSE = PACKAGE + "warehouse";
    //未登录信息
    public static final String NICKNAME_UNLOGIN = "姓名未设置";
    public static final String ADDRESS_UNLOGIN = "地址未设置";

    //SharedPreferencess
    //考试题型
    public static final String ANSWER_RIGHT = "回答正确";
    //上传答案
    public static final String SECOND_UPDATE = PACKAGE + "second_update";
    public static final String SECOND_UPDATE_TEST_ID = PACKAGE + "second_update_test_id";
    public static final String SECOND_UPDATE_USER_ID = PACKAGE + "second_update_user_id";
    public static final String SECOND_UPDATE_DATA = PACKAGE + "second_update_data";
    public static final String SECOND_UPDATE_SCORE = PACKAGE + "second_update_score";
    public static final String SECOND_UPDATE_SPEND_TIME = PACKAGE + "second_update_spend_time";
    public static final String SECOND_UPDATE_TIMELIMIT = PACKAGE + "second_update_timelimit";
    public static final String SECOND_UPDATE_START_TIME = PACKAGE + "second_update_start_time";
    public static final String SECOND_UPDATE_DATE_NOW = PACKAGE + "second_update_data_now";
    public static final String SECOND_UPDATE_HANDLETIME = PACKAGE + "second_update_handletime";
    public static final String SECOND_UPDATE_SUCCESS = PACKAGE + "second_update_success";
    //纺机类型
    public static int PRODUCT = 1;
    public static int COMPANY = 2;
    public static String TO_SEARCH = PACKAGE + "to_search";
    public static String TO_SEARCH_RESULT = PACKAGE + "to_search_result";
    public static String TO_SCREENING = PACKAGE + "to_screening";
    public static String TO_SCREENING_CITY = PACKAGE + "to_screening_city";
    public static String TO_SCREENING_CATE = PACKAGE + "to_screening_cate";
    public static String TO_ADDRESS_SCREEN = PACKAGE + "to_address_screen";
    public static String TO_CATE_SCREEN = PACKAGE + "to_cate_screen";
}
